package com.xiaoyuan.minicore.aop;

import java.lang.reflect.Method;

/**
 * @Auther: xiaoyuan
 * @Date: 2020/4/30
 * @Description:
 */
public interface Handler {

    Object proceed(Chain chain) throws Throwable;

    boolean filter(Method method, Object[] args);

   void end(Method method, Object[] args);

   void before(Method method, Object[] args) ;

   void after(Method method, Object[] args);

    void error(Method method, Object[] args, Exception e);
}
